package com.cnvai.cms.persistence.basedao;

import com.cnvai.cms.javabean.model.CmsChannel;
import com.cnvai.cms.javabean.model.CmsChannelExample;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsChannelMapper {
    int countByExample(CmsChannelExample example);

    int deleteByExample(CmsChannelExample example);

    int deleteByPrimaryKey(BigDecimal cnnid);

    int insert(CmsChannel record);

    int insertSelective(CmsChannel record);

    List<CmsChannel> selectByExample(CmsChannelExample example);

    CmsChannel selectByPrimaryKey(BigDecimal cnnid);

    int updateByExampleSelective(@Param("record") CmsChannel record, @Param("example") CmsChannelExample example);

    int updateByExample(@Param("record") CmsChannel record, @Param("example") CmsChannelExample example);

    int updateByPrimaryKeySelective(CmsChannel record);

    int updateByPrimaryKey(CmsChannel record);
}